#include <netinet/in.h>
#include "Addr.h"
#include "ostype.h"

class NetAddr :public Addr{
	public:
	NetAddr(const char* hostname,uint8 port,uint8 type);
	virtual void  set_addr(void* addr,uint8 size);
	virtual void* get_addr(void);
	private:
		struct sockaddr_in _addr;
};
